//
//  AddProjectController.h
//  SEOBox
//
//  Created by Syd on 10-2-28.
//  Copyright 2010 MusicPeace.ORG. All rights reserved.
//

#import <Cocoa/Cocoa.h>
@class ProjectsArrayController;

@interface AddProjectController : NSWindowController{
    IBOutlet NSTextField *nameTextField;
    IBOutlet NSTextField *urlTextField;
    IBOutlet NSProgressIndicator *progressIndicator;
    NSDictionary *projectInfo;
    IBOutlet ProjectsArrayController *projectsArrayController;
    NSManagedObjectContext *managedObjectContext;
}

@property (nonatomic, retain) NSTextField *nameTextField;
@property (nonatomic, retain) NSTextField *urlTextField;
@property (nonatomic, retain) NSProgressIndicator *progressIndicator;
@property (nonatomic, retain) NSDictionary *projectInfo;
@property (nonatomic, retain) ProjectsArrayController *projectsArrayController;
@property (nonatomic, retain) NSManagedObjectContext *managedObjectContext;

- (IBAction)cancel:(id)sender;
- (IBAction)add:(id)sender;
- (BOOL)validateProject;
@end
